-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ci-visibility] Fix random cypress integration tests timeouts #3255
[ci-visibility] Fix random cypress integration tests timeouts #3255
Conversation
Overall package sizeSelf size: 4.36 MB Dependency sizes
🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report
@@ Coverage Diff @@
## master #3255 +/- ##
=======================================
Coverage 86.02% 86.03%
=======================================
Files 194 194
Lines 7514 7517 +3
Branches 33 33
=======================================
+ Hits 6464 6467 +3
Misses 1050 1050 see 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
webAppPort = await getPort() | ||
webAppServer.listen(webAppPort) | ||
}) | ||
function getCypressVersion () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the cypress version to install now comes as an env var from the CI job, this way we can more easily parallelise.
What does this PR do?
There are occasional timeouts for cypress tests. This PR:
childProcess.on('exit')
and addsdone
in there. I'm not sure why, but not handling the exit of the process seems to leave node hanging.Motivation
Keep CI fast and green. I've run the integration tests job 10 times and it seems flakiness is gone (at least potentially): https://github.com/DataDog/dd-trace-js/actions/runs/5313741276